#pragma once

#include <QObject>
#include <QMap>
#include "ComponentBase.h"


class VisualSystem;
class CameraManager : public ComponentBase
{
	Q_OBJECT

public:
	CameraManager(QObject* parent);
	~CameraManager();
	// 组件初始化处理函数
	virtual int ComponentInit() override;
	/*自检接口*/
	virtual bool ComponentCheckSelfState() override;
	/*复位接口*/
	virtual bool ComponentSelfReset() override;

	virtual void* GetPoint(const QString& id) override;

private:
	QMap<QString, VisualSystem*> m_cams;
};
